﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>JskitPager.html</title>
        <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
        <meta http-equiv="description" content="this is my page">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" type="text/css" href="../main.css">
        <script src="../../release/jskit.core.js">
        </script>
        <script src="../JskitConfig_doc.js">
        </script>
    </head>
    <body>
        <table border="0" id="Table1">
            <tbody>
                <tr>
                    <td class="package">
                        JskitPager.js
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        Author:
                    </td>
                </tr>
                <tr>
                    <td class="content">
                        AnyRock
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        Initializtion:
                    </td>
                </tr>
                <tr>
                    <td class="content">
                        var jp = new JskitPager("jp");
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        Required:
                    </td>
                </tr>
                <tr>
                    <td class="content">
                        core/*
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        Methods:
                    </td>
                </tr>
                <tr>
                    <td class="content">
                        <table border="1" cellspacing="0" class="content_list" id="Table3">
                            <tbody>
                                    <tr bgcolor="#cccccc">
                                        <td>
                                            Name
                                        </td>
                                        <td>
                                            Parameters
                                        </td>
                                        <td>
                                            Return
                                        </td>
                                        <td>
                                            Comment
                                        </td>
                                    </tr>
                                <tr>
                                    <td>
                                        setCssNormal
                                    </td>
                                    <td>
                                        String
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        翻页链接的缺省样式
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setCssSelected
                                    </td>
                                    <td>
                                        String
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        翻页链接的当前页样式
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setCssDisabled
                                    </td>
                                    <td>
                                        String
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        翻页链接无动作样式
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setCssFpnlText
                                    </td>
                                    <td>
                                        String
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        翻页Fpnl样式翻页器的文本样式
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setPageNo
                                    </td>
                                    <td>
                                        int
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        当前页码
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setPageSize
                                    </td>
                                    <td>
                                        int
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        每页显示的记录数
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setTotalSize
                                    </td>
                                    <td>
                                        int
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        记录总条数
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setStyle
                                    </td>
                                    <td>
                                        string
                                    </td>
                                    <td>
                                       
                                    </td>
                                    <td>
                                        显示的风格，fpnl:首页上一页下一页末页，number:数字页码（缺省）
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        setFpnlText
                                    </td>
                                    <td>
                                        Array
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        fpnl风格的文字内容,缺省：new Array("First","Prev","Next","Last")
                                    </td>
                                </tr>
                                 <tr>
                                    <td>
                                        setAction
                                    </td>
                                    <td>
                                        string
                                    </td>
                                    <td>
                                        
                                    </td>
                                    <td>
                                        翻页动作,可以是链接，或者javascript:开始的脚本，<font color="red">其中$1作为可替换的Parameters，替换为页码。</font>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        outContent([rPageNo])
                                    </td>
                                    <td>
                                        rPageNo: 当前页码
                                    </td>
                                    <td>
                                        String
                                    </td>
                                    <td>
                                        获得翻页的HTML代码
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        display([rPageNo])
                                    </td>
                                    <td>
                                        rPageNo: 当前页码
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        在页面打印翻页的HTML代码
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td class="title">
                        Example::
                    </td>
                </tr>
                <tr>
                    <td class="content">
                        <a href="../demo/demo_JskitPager.html">查看JskitPager Demo</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </body>
</html>
